package com.sina.mysql.exception;

import com.sina.mysql.utils.ResultCode;

/**
 * @ClassName DataException
 * @Description:
 * @Author 段浩杰
 * @Date 2018/8/22 17:43
 * @Version 1.0
 */
public class DataException extends RuntimeBusinessException {


    private static final long serialVersionUID = 6338722095761372507L;

    public DataException(String message) {
        super(ResultCode.dataError, message);
    }


    public DataException(ResultCode resultCode, String message) {
        super(resultCode, message);
    }

    public DataException(ResultCode resultCode, String message, Throwable cause) {
        super(resultCode, message, cause);
    }

    public DataException(ResultCode resultCode, Throwable cause) {
        super(resultCode, cause);
    }
}
